package com.wcity.manage.common.utils;

import com.wcity.manage.common.enums.Code;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by jn on 2016/12/9.
 * json
 */
public class JSONUtil {

    public static Map<String,Object> getSuccessJson(){
        Map<String,Object> jsonMap = new HashMap<>();
        Code code = Code.SUCCESS;
        jsonMap.put( "retCode", code.getCodeNum() );
        jsonMap.put( "retDesc", "请求成功" );
        return jsonMap;
    }

}
